package com.wondertek.service.dto.business.res;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

/**
 * @author wangyu
 */
@Data
public class DeviceErrorRecordMessageRes {


    /*
     * 消息id
     * */
    @Schema(name = "id",description = "消息id")
    private String id;

    /*
     * 1:报警  2:故障 3:事件 4:通知
     * */
    @Schema(name = "type",description = "2-跳转到故障 除2以外-跳转到报警")
    private Integer type;


    /*
     * 报警表id
     * */
    @Schema(name = "derId",description = "报警表id")
    private String derId;


    /*
     * 报警类型
     * */
    @Schema(name = "errorType",description = "errorType--描述")
    private String errorType;


    /*
     * 站点id
     * */
    @Schema(name = "siteId",description = "站点id")
    private String siteId;

    /*
     * 站点名称
     * */
    @Schema(name = "siteName",description = "站点名称")
    private String siteName;

    /*
     * 报警时间
     * */
    @Schema(name = "errorTime",description = "报警时间")
    private Date errorTime;

    /*
     * 是否已读 0：未读  1：已读
     * */
    @Schema(name = "isRead",description = "是否已读 0：未读  1：已读")
    private int isRead;

}
